package com.thinkingstar.iads.common.serviceImpl;

import org.apache.poi.ss.formula.functions.T;
import org.nutz.dao.Dao;
import org.nutz.dao.FieldFilter;
import org.nutz.dao.util.Daos;
import org.nutz.service.EntityService;
import com.thinkingstar.iads.common.service.FieldFilterServiceI;
/**
 * 字段过滤
 * @author Administrator
 *
 * @param <T>
 */
public class FieldFilterServiceImpl extends EntityService<T> implements FieldFilterServiceI<T>{
	
    public FieldFilterServiceImpl(Dao dao) {
        super(dao);
    }

	@Override
	public void fileldFilter(T t , String regular) {
		Daos.ext(dao(), FieldFilter.create(t.getClass(), regular)).update(t);
	}
	
	
	
	

}
